package design.Test5decorator;

/**
 */
public class TeaDecorator extends Decorator {

    public TeaDecorator(Component component) {
        super(component);
    }

    @Override
    public String cost() {

        return super.cost()+" tea--->3元 ";
    }

    @Override
    public String getDesc() {
        return " add tea";
    }
}
